import { BasePageQo } from '@/base/api/BaseQo'

export type SysRoleListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  name: string
  code: string
  platformType: string
  enable: boolean
  superAdmin: boolean
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysRoleDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  name: string
  code: string
  platformType: string
  enable: boolean
  superAdmin: boolean
  remark?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysRoleSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  name?: string
  code?: string
  platformType?: string
  enable?: boolean
  superAdmin?: boolean
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysRoleEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  name?: string
  code?: string
  platformType?: string
  enable?: boolean
  superAdmin?: boolean
  remark?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  menuIds?: number[]
  // [[ OnflowGenerator Range (- editQo -) End ]]
}
